﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DashBoard/Master/Main.Master" AutoEventWireup="true" CodeBehind="EkleGuncelle.aspx.cs" Inherits="OgrIsleri.DashBoard.Modul.Ogrenci.EkleGuncelle" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main_Body" runat="server">
    <fieldset>
                <div class="widget">
                    <div class="title"><img src="/images/icons/dark/list.png" alt="" class="titleIcon" /><h6>Öğrenci Bilgileri</h6></div>
                    <div class="formRow">
                        <label>Adı Soyadı:</label>
                        <div class="formRight"><asp:TextBox ID="txtAdSoyad" runat="server"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Doğum Tarihi:</label>
                        <div class="formRight"><asp:TextBox ID="txtDogumTarihi" CssClass="maskDate" runat="server"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Cinsiyet:</label>
                        <div class="formRight">
                            <asp:DropDownList ID="DpCinsiyet" runat="server">
                                <asp:ListItem Selected="True" Value="0">Kadın</asp:ListItem>
                                <asp:ListItem Value="1">Erkek</asp:ListItem>
                            </asp:DropDownList></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Sınıfı:</label>
                        <div class="formRight">
                            <asp:DropDownList ID="DpSinif" runat="server" AppendDataBoundItems="True">
                                <asp:ListItem Selected="True" Value="0">Sınıf seçiniz</asp:ListItem>
                            </asp:DropDownList></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Cep Telefonu:</label>
                        <div class="formRight"><asp:TextBox ID="txtCepTel" runat="server"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Sabit Telefon:</label>
                        <div class="formRight"><asp:TextBox ID="txtSabitTel" runat="server"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Şehir:</label>
                        <div class="formRight">
                            <asp:DropDownList ID="DpSehir" runat="server" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="DpSehir_SelectedIndexChanged">
                                <asp:ListItem Selected="True" Value="0">Şehir seçiniz</asp:ListItem>
                            </asp:DropDownList></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>İlçe:</label>
                        <div class="formRight">
                            <asp:DropDownList ID="DpIlce" runat="server" AppendDataBoundItems="True"></asp:DropDownList></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Adres:</label>
                        <div class="formRight"><asp:TextBox ID="txtAdres" runat="server" TextMode="MultiLine"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Kullanıcı Adı:</label>
                        <div class="formRight"><asp:TextBox ID="txtKullaniciAdi" runat="server"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Şifre:</label>
                        <div class="formRight"><asp:TextBox ID="txtSifre" runat="server" TextMode="Password"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Şifre Tekrar:</label>
                        <div class="formRight"><asp:TextBox ID="txtSifreOnay" runat="server" TextMode="Password"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>E-Posta:</label>
                        <div class="formRight"><asp:TextBox ID="txtMail" runat="server"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <asp:Button ID="BtnKaydet" CssClass="button dblueB" runat="server" Text="Kaydet" OnClick="BtnKaydet_Click" />
                    </div>
                </div>
            </fieldset>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    <asp:RequiredFieldValidator ID="Valid1" runat="server" ErrorMessage="Lütfen kullanıcı adı giriniz" ControlToValidate="txtKullaniciAdi" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="Valid2" runat="server" ErrorMessage="Lütfen şifre giriniz" ControlToValidate="txtSifre" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="Valid3" runat="server" ErrorMessage="Lütfen ad soyad giriniz" ControlToValidate="txtAdSoyad" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="Valid4" runat="server" ErrorMessage="Lütfen bir e-posta adresi giriniz" ControlToValidate="txtMail" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="Valid5" runat="server" ErrorMessage="Lütfen adres giriniz" ControlToValidate="txtAdres" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="Valid6" runat="server" ErrorMessage="Lütfen şehir seçiniz" ControlToValidate="DpSehir" Display="None" InitialValue="0"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="valid8" runat="server" ErrorMessage="Lütfen sınıf seçiniz" ControlToValidate="DpSinif" Display="None" InitialValue="0"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="Valid7" runat="server" ErrorMessage="Lütfen ilçe seçiniz" ControlToValidate="DpIlce" Display="None" InitialValue="0"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtSifre" ControlToValidate="txtSifreOnay" Display="None" ErrorMessage="Şifreler uyumlu değil"></asp:CompareValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtMail" Display="None" ErrorMessage="Lütfen geçerli bir e-posta adresi giriniz" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
</asp:Content>
